
<!DOCTYPE html>
<html>
<head>
<!--{template "wap_header"}-->
<link rel="stylesheet" href="templates/mobile/style/cp_style20140312.css" />
<!--{~ui('loader')->js('@jquery')}-->
 {~ui('loader')->js('@time.lesser')}
 <style>
.arrow-left {
float: left;
width: 13px;
height: 13px;
margin-left: 13px;
margin-top: 15px;
border: 2px solid #fff;
border-width: 2px 0 0 2px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.arrow-left:hover{
	background:none;
	float: left;
width: 13px;
height: 13px;
margin-left: 13px;
margin-top: 15px;
border: 2px solid #ff5a84;
border-width: 2px 0 0 2px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.w-header .home {
float: right;
width: 37px;
height: 100%;
background: url(templates/mobile/images/home.png) no-repeat center;
background-size: 21px;
}

.w-header .text {
margin: 0 100px;
text-align: center;
line-height: 50px;
font-size: 18px;
color: #fff;
font-family: 'MICROSOFT YaHei', Helvetica, Tahoma, sans-serif;
}
.detail_cen img{
	max-width:300px;
	height:auto;
}
</style>
</head>

<body id="deal">
<header class="w-header">
     <a class="arrow-left" href="javascript:history.back()"></a>
                 
					
                    <a href="/wap.php" class="home" ></a>
                    <div class="text">{TUANGOU_STR}详情</div>

</header>


<div class="content">
	<div class="d3">
	<!-- 图片和标题 ↓ -->
			<div class="section-detailbox">
				<div class="deal-pic">																			 
					<img src="{echo imager($product['imgs'][0], IMG_Normal);}" alt="{$product['name']}" width="100%" />
				</div>
				<section class="title">
					<h1>{$product['name']}</h1>
					<h3>{$product['intro']}</h3>
					<h1>{if $product['begin_date']}
即将到来：<span>{$product['begin_date']}</span>
{elseif $product['limit_time']}
开抢倒计时：<div class="deal_djs" id="remainTime_{$product['id']}"></div>
<script language="javascript">
addTimeLesser($product['id'], $product['limit_time']);
</script>
{else}
剩余时间：{if $product['time_remain'] < 0}<span>0</span>{/if}
<div class="deal_djs" id="remainTime_{$product['id']}"></div>
<script language="javascript">
addTimeLesser($product['id'], $product['time_remain']);
</script>
{/if}				</h1>
				</section>
				<section class="deal-other">
					<ul class="oh-ul">	
																					<!-- <li class="oh-in"><span class="ok"></span>支持七天退</li>
																						<li class="oh-pass"><span></span>不支持过期退</li> -->

																			<li class="oh-num"><span></span>{$product['sells_count']}人已买</li>
													<!-- <li class="oh-time" ><span></span><div id="last_time">
													</div></li> -->
													
											</ul>
					
				</section>
			</div>
	<!--  图片和标题 ↑ -->
	
	<!-- 分店信息 ↓ -->
						<div class="section-detailbox">
				<section class="title">
					<h2>商家信息</h2>
				</section>
				<section class="title deal-phone">
									<p style="font-weight: bold;" >{$product['sellername']}</p>
					<p>{$product['selleraddress']}</p>
					<a href="tel:{$product['sellerphone']}" class="icon"><i></i></a>				
								</section>
											</div>
	<!-- 分店信息 ↑ -->
	<!-- 本单详情 ↓ -->
			<div class="section-detailbox">
				<section class="title">
					<h2>本单详情</h2>
				</section>
				<section class="title">
					<div class="detail_cen" style="padding:0;">
				{$product['content']}
				</div>
				</section>
				
			</div>
	<!-- 本单详情 ↑ -->
 {~ui('loader')->js('@jquery.lazyload')}
<script type="text/javascript">
$(".detail_cen img").lazyload({effect:'fadeIn',skip_invisible:false});
</script>
	
	</div>
</div>


<div id='flow_buybox' class="section-buybox" style="position: fixed;width:100%;z-index:10004;left:0px;bottom:0px;-webkit-user-select: none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-transform:translate3d(0,0,0);margin:15px 0px 0px;">
				
				<div class="deal-buyatt">
					<p class="price"><b>&yen;{$product['nowprice']}</b><del>&yen;{$product['price']}</del></p>
				</div>
<div class="deal-buybtn" style="margin-right:20px">
<a href="?mod=buy&code=checkout&id={$product['id']}">立即购买</a>
</div>
 </div>  
       
       <!--  <section class="deal-box">
    <h1 gaevent="InnerLink|Click|touch/deal/moreinfo" id="deal-more" data-href="detail.php?id=47">查看更多详情</h1>
</section> -->

<!--{template "wap_footer"}-->
<div style="height:60px;"></div>

 <script>
    $(document).ready(function(){

      
    });
</script> 

</body>
</html>
